<html>
<head><meta charset="utf-8"><title>cargo-bisect as a bot · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html">cargo-bisect as a bot</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="196068355"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196068355" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Félix Fischer <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196068355">(May 02 2020 at 20:17)</a>:</h4>
<p>How crazy would it be to have <a href="https://github.com/rust-lang/cargo-bisect-rustc" title="https://github.com/rust-lang/cargo-bisect-rustc"><code>cargo-bisect-rustc</code></a> as a bot we could summon on ICE issues?</p>
<p>The other day I had the pleasure to use it for finding the commit which caused a particular ICE, and it turned out to be pretty fast - it uses the CI artifacts of the <code>rustc</code> repo. It was fast even in my computer, which is by today standards kinda slow :)</p>
<p>I don't know how many ICE do we cover with the following scenario, but I was thinking of this sort of usage:</p>
<ol>
<li>Authorized user comments like this:<br>
<code>@bisect_bot run</code></li>
</ol>
<div class="codehilite"><pre><span></span><code><span class="c1">// Code for minimal lib.rs that causes the ICE</span>
</code></pre></div>


<ol start="2">
<li>
<p>Bot answers<br>
<code>Running bisection on:</code><br>
<code>&lt;prints configuration&gt;</code><br>
<code>Use @bisect_bot stop to stop bisection</code></p>
</li>
<li>
<p>Bot prints the bisection report after finishing.</p>
</li>
</ol>
<p>Maybe not all scenarios are covered - if to reproduce the ICE one needs more <code>.rs</code> files or a special <code>Cargo.toml</code>, the runs would be kinda hard to configure inside of a github comment. That said, for those cases it could be that you do a command, the bot answers with what it thinks you want to do (like showing you the <code>--dry-run</code>), but without running it yet. After seeing that it's fine, you give it the confirmation and let it do the bisection for you.</p>
<p>Also, scenarios where you need a particular OS, special system dependencies or C libraries - those are definitely out of scope for a bot, I'd think.</p>



<a name="196069331"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196069331" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196069331">(May 02 2020 at 20:44)</a>:</h4>
<p>the main reason we haven't is the (IMO) open question as to a nice UI</p>



<a name="196069333"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196069333" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196069333">(May 02 2020 at 20:45)</a>:</h4>
<p>usually when I bisect I have to do it a couple times</p>



<a name="196069341"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196069341" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196069341">(May 02 2020 at 20:45)</a>:</h4>
<p>but I think doing it as a zulip bot would be more viable</p>



<a name="196069347"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196069347" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196069347">(May 02 2020 at 20:45)</a>:</h4>
<p>bisecting on github would be quite spammy I think</p>



<a name="196070179"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196070179" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Félix Fischer <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196070179">(May 02 2020 at 21:09)</a>:</h4>
<p>Wait... <em>ZULIP bots exist??</em></p>
<p>That's amazing! Oh, Imma look into that. Do we have any Zulip bots in the rust streams, to check how they work UI-wise?</p>



<a name="196070186"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196070186" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196070186">(May 02 2020 at 21:09)</a>:</h4>
<p>triagebot is our only one currently, really</p>



<a name="196070189"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196070189" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196070189">(May 02 2020 at 21:09)</a>:</h4>
<p>that's what I'd add it to if we were to do this</p>



<a name="196070257"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196070257" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Félix Fischer <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196070257">(May 02 2020 at 21:10)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116122">simulacrum</span> <a href="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196070186" title="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196070186">said</a>:</p>
<blockquote>
<p>triagebot is our only one currently, really</p>
</blockquote>
<p>Ohh, I see. Does it have a github repo or something?</p>



<a name="196070267"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196070267" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196070267">(May 02 2020 at 21:10)</a>:</h4>
<p><a href="https://github.com/rust-lang/triagebot/" title="https://github.com/rust-lang/triagebot/">https://github.com/rust-lang/triagebot/</a></p>



<a name="196091673"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196091673" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196091673">(May 03 2020 at 08:33)</a>:</h4>
<p>I am currently experimenting with this.</p>



<a name="196094601"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196094601" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196094601">(May 03 2020 at 09:53)</a>:</h4>
<p>It now creates a bisect job when asked in a comment. Next step: report the result back.</p>



<a name="196105344"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196105344" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196105344">(May 03 2020 at 14:16)</a>:</h4>
<p><span aria-label="+1" class="emoji emoji-1f44d" role="img" title="+1">:+1:</span></p>



<a name="196106205"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196106205" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196106205">(May 03 2020 at 14:41)</a>:</h4>
<p><span class="user-mention" data-user-id="133247">@bjorn3</span> <span class="user-mention" data-user-id="212698">@Félix Fischer</span> Do we need to update the output format to support this?  This is a great idea!</p>



<a name="196106255"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196106255" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196106255">(May 03 2020 at 14:42)</a>:</h4>
<p>My plan currently is to just comment the raw log with just some lines filtered, like the download messages.</p>



<a name="196106346"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196106346" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196106346">(May 03 2020 at 14:45)</a>:</h4>
<p>I just mentioned to <span class="user-mention" data-user-id="116122">@simulacrum</span> that the full report that we generate is not pasted into the repo threads.  Most tend to manually add a line indicating that these data were generated by <code>bisect-rustc</code> and this block of text:</p>
<div class="codehilite"><pre><span></span><code>searched nightlies: from nightly-2020-04-26 to nightly-2020-04-27
regressed nightly: nightly-2020-04-27
searched commits: from rust-lang/rust@0862458 to rust-lang/rust@e83f756
regressed commit: rust-lang/rust@b592b37
source code: URL OF A REPOSITORY THAT REPRODUCES THE ERROR
</code></pre></div>


<p>or just this:</p>
<div class="codehilite"><pre><span></span><code>regressed commit: rust-lang/rust@b592b37
</code></pre></div>


<p><a href="https://github.com/rust-lang/cargo-bisect-rustc/pull/79#issuecomment-623119788" title="https://github.com/rust-lang/cargo-bisect-rustc/pull/79#issuecomment-623119788">https://github.com/rust-lang/cargo-bisect-rustc/pull/79#issuecomment-623119788</a></p>



<a name="196106411"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196106411" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196106411">(May 03 2020 at 14:46)</a>:</h4>
<p>It might be worth considering changes on the tool side.</p>



<a name="196106548"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196106548" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196106548">(May 03 2020 at 14:50)</a>:</h4>
<p>It would be nice if the progress bar was refreshed much less often. Eg 1 time per second. Every time the progress bar gets refreshed, github actions shows another line, which really slows down my browser.</p>



<a name="196107281"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107281" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107281">(May 03 2020 at 15:07)</a>:</h4>
<p>How are you filtering the std stream output?</p>



<a name="196107342"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107342" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107342">(May 03 2020 at 15:08)</a>:</h4>
<p>Initially I didn't. Now I do <code>| grep -v "for x86_64-unknown-linux-gnu"</code> to filter the download progress messages.</p>



<a name="196107360"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107360" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107360">(May 03 2020 at 15:09)</a>:</h4>
<p><span class="user-mention" data-user-id="133247">@bjorn3</span> hm, I would expect that the progress bar should be hidden entirely? we shouldn't show it if there's not a tty attached</p>



<a name="196107368"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107368" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107368">(May 03 2020 at 15:09)</a>:</h4>
<p>On github actions, a tty <strong>is</strong> attached</p>



<a name="196107415"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107415" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107415">(May 03 2020 at 15:10)</a>:</h4>
<p>That is... surprising. Maybe there's some terminfo detection we should be doing</p>



<a name="196107422"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107422" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107422">(May 03 2020 at 15:10)</a>:</h4>
<p>or we can env::var_os("GITHUB_CI") or whatever</p>



<a name="196107435"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107435" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107435">(May 03 2020 at 15:10)</a>:</h4>
<p>By the way, does anybody know of a proxy to localhost that doesn't just allow json messages? I currently use <a href="http://smee.io" title="http://smee.io">smee.io</a>, but it doesn't allow me to upload the log.</p>



<a name="196107437"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107437" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107437">(May 03 2020 at 15:11)</a>:</h4>
<p>Or a <code>--verbose</code> vs. <code>--quiet</code> approach that eliminates some elements of the output</p>



<a name="196107439"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107439" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107439">(May 03 2020 at 15:11)</a>:</h4>
<p>I use ngrok</p>



<a name="196107449"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107449" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107449">(May 03 2020 at 15:11)</a>:</h4>
<p>it doesn't allow uploading logs though either I think</p>



<a name="196107460"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107460" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107460">(May 03 2020 at 15:11)</a>:</h4>
<p>I can try</p>



<a name="196107834"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196107834" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196107834">(May 03 2020 at 15:20)</a>:</h4>
<p>I proposed ANSI escape code output in a new PR on the bisect-rustc repository.  This should not affect any lines that you are filtering out.  It does add escape codes to the interval reporting on the nightly and commit where a regression is identified.  I don't think that this will be an issue  unless you are trying to filter on inclusion of that information in an Actions report. The final report is not formatted with escape codes.   Let me know if that causes problems for any reason.</p>



<a name="196108415"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196108415" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196108415">(May 03 2020 at 15:33)</a>:</h4>
<p>When piping the output through grep, it will not use ANSI escape codes, right?</p>



<a name="196108700"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196108700" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196108700">(May 03 2020 at 15:41)</a>:</h4>
<p>Can <code>cargo bisect-rustc</code> use the github api to get the list of commits, instead of cloning the rust repo? That would save about 3min.</p>



<a name="196109052"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196109052" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196109052">(May 03 2020 at 15:50)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116122">simulacrum</span> <a href="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196107449" title="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196107449">said</a>:</p>
<blockquote>
<p>it doesn't allow uploading logs though either I think</p>
</blockquote>
<p>if the log is short, it allows it, but otherwise it just removes the body.</p>



<a name="196109112"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196109112" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196109112">(May 03 2020 at 15:50)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> any ideas how to get the log back to the bot?</p>



<a name="196109138"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196109138" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196109138">(May 03 2020 at 15:51)</a>:</h4>
<p><span class="user-mention" data-user-id="133247">@bjorn3</span> it should use <a href="https://github.com/rust-lang/cargo-bisect-rustc/issues/77" title="https://github.com/rust-lang/cargo-bisect-rustc/issues/77">https://github.com/rust-lang/cargo-bisect-rustc/issues/77</a> not github api, but yes, that should be instant</p>



<a name="196109150"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196109150" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196109150">(May 03 2020 at 15:51)</a>:</h4>
<p><span class="user-mention" data-user-id="133247">@bjorn3</span> are you planning on running bisection in github actions?</p>



<a name="196109163"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196109163" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196109163">(May 03 2020 at 15:51)</a>:</h4>
<p>yes</p>



<a name="196109206"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196109206" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196109206">(May 03 2020 at 15:52)</a>:</h4>
<p>I know Pietro had trouble getting access to those logs programmatically</p>



<a name="196109211"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196109211" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196109211">(May 03 2020 at 15:52)</a>:</h4>
<p>maybe we can just link to the run?</p>



<a name="196109236"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196109236" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196109236">(May 03 2020 at 15:52)</a>:</h4>
<p>I would start there</p>



<a name="196110622"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196110622" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196110622">(May 03 2020 at 16:24)</a>:</h4>
<p>Currently testing the whole pipeline</p>



<a name="196111022"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196111022" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196111022">(May 03 2020 at 16:32)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span></p>
<p><a href="/user_uploads/4715/bfBYhDbudUkvfJ3nsMWMKbwj/image.png" title="image.png">image.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/bfBYhDbudUkvfJ3nsMWMKbwj/image.png" title="image.png"><img src="/user_uploads/4715/bfBYhDbudUkvfJ3nsMWMKbwj/image.png"></a></div>



<a name="196111067"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196111067" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196111067">(May 03 2020 at 16:33)</a>:</h4>
<p><span class="user-mention" data-user-id="212698">@Félix Fischer</span> Your wish is my command :) ^^^</p>



<a name="196111225"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196111225" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196111225">(May 03 2020 at 16:36)</a>:</h4>
<p>now we just need that integrated into zulip -- I don't want that kind of noise in the less-interactive github</p>



<a name="196111355"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196111355" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196111355">(May 03 2020 at 16:38)</a>:</h4>
<p>sure, will try that</p>



<a name="196111457"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196111457" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196111457">(May 03 2020 at 16:41)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> </p>
<blockquote>
<p>Only organization administrators can add bots to this organization</p>
</blockquote>



<a name="196111755"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196111755" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196111755">(May 03 2020 at 16:48)</a>:</h4>
<p>According to the docs, you need to create a bot to access the api. Because I can't create a bot, I can't test the bisect bot once I have programmed something.</p>



<a name="196112317"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196112317" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196112317">(May 03 2020 at 16:59)</a>:</h4>
<p>Ah, there exists a personal api key</p>



<a name="196112414"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196112414" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196112414">(May 03 2020 at 17:01)</a>:</h4>
<p>oh, well, we'll probably want it as part of triagebot eventually -- just makes sense to avoid having two separate auth implementations and such</p>



<a name="196112457"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196112457" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196112457">(May 03 2020 at 17:02)</a>:</h4>
<p>but yeah if you want to try it out first then that'd be great, I'd love to review a pr</p>



<a name="196114111"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196114111" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196114111">(May 03 2020 at 17:41)</a>:</h4>
<p>Very nice <span class="user-mention" data-user-id="133247">@bjorn3</span>!</p>



<a name="196114292"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196114292" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196114292">(May 03 2020 at 17:46)</a>:</h4>
<p>If the question wasn't answered above you can access Github API with --access=github</p>



<a name="196114296"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196114296" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196114296">(May 03 2020 at 17:46)</a>:</h4>
<p>the default is to clone</p>



<a name="196114332"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196114332" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196114332">(May 03 2020 at 17:47)</a>:</h4>
<p>cc <span class="user-mention" data-user-id="116083">@pnkfelix</span> <span class="user-mention" data-user-id="116266">@Santiago Pastorino</span>  re new bot for bisect-rustc</p>



<a name="196114381"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196114381" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196114381">(May 03 2020 at 17:48)</a>:</h4>
<p><span class="user-mention silent" data-user-id="262810">Chris Simpkins</span> <a href="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196114292" title="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196114292">said</a>:</p>
<blockquote>
<p>If the question wasn't answered above you can access Github API with --access=github</p>
</blockquote>
<p>will try</p>



<a name="196114391"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196114391" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196114391">(May 03 2020 at 17:49)</a>:</h4>
<p>it is much faster</p>



<a name="196117530"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196117530" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196117530">(May 03 2020 at 19:04)</a>:</h4>
<p><span class="user-mention silent" data-user-id="262810">Chris Simpkins</span> <a href="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196114391" title="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196114391">said</a>:</p>
<blockquote>
<p>it is much faster</p>
</blockquote>
<p>indeed 1 min vs 4min total bisection time for my test</p>



<a name="196117641"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196117641" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196117641">(May 03 2020 at 19:07)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> Here is the zulip bot you wanted:</p>
<p><a href="/user_uploads/4715/p5N0fNZH7ySnw3z45O4gAYDI/image.png" title="image.png">image.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/p5N0fNZH7ySnw3z45O4gAYDI/image.png" title="image.png"><img src="/user_uploads/4715/p5N0fNZH7ySnw3z45O4gAYDI/image.png"></a></div>



<a name="196117729"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196117729" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196117729">(May 03 2020 at 19:08)</a>:</h4>
<p>Looks great! Is that pushed somewhere? I'd be happy to add the bot manually for now too while we figure out triagebot Integration</p>



<a name="196117743"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196117743" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196117743">(May 03 2020 at 19:09)</a>:</h4>
<p>Currently a private repo, together with the github version. Will make it public in a few minutes.</p>



<a name="196117893"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196117893" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196117893">(May 03 2020 at 19:13)</a>:</h4>
<p><a href="https://github.com/bjorn3/cargo-bisect-rustc-bot" title="https://github.com/bjorn3/cargo-bisect-rustc-bot">https://github.com/bjorn3/cargo-bisect-rustc-bot</a></p>



<a name="196117951"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196117951" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196117951">(May 03 2020 at 19:14)</a>:</h4>
<p>It works by listening for a comment. It then pushes a commit to <a href="https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs" title="https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs">https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs</a>. When the check run for that commit finishes, it reads the commit message to determine the correct location to post a message.</p>



<a name="196117973"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196117973" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196117973">(May 03 2020 at 19:14)</a>:</h4>
<p>It is stateless with the exception of the zulip message listener, which remembers the message queue it registered and the last message id it read.</p>



<a name="196117982"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196117982" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196117982">(May 03 2020 at 19:15)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> ^</p>



<a name="196117998"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196117998" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196117998">(May 03 2020 at 19:15)</a>:</h4>
<p>The code will need cleanup, which I may do tomorrow.</p>



<a name="196118044"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196118044" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196118044">(May 03 2020 at 19:16)</a>:</h4>
<p>Seems reasonable, yeah. I would love a PR to triagebot if you have the time and if not I can add it to my queue :)</p>



<a name="196118052"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196118052" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196118052">(May 03 2020 at 19:17)</a>:</h4>
<p>I don't know if I have time yet, but I will try.</p>



<a name="196118062"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196118062" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196118062">(May 03 2020 at 19:17)</a>:</h4>
<p>Just file an issue please if not</p>



<a name="196170311"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196170311" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196170311">(May 04 2020 at 11:55)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> How do I create and push a commit from triagebot?</p>



<a name="196171712"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196171712" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196171712">(May 04 2020 at 12:11)</a>:</h4>
<p>Hm, probably using the GitHub API</p>



<a name="196171747"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196171747" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196171747">(May 04 2020 at 12:12)</a>:</h4>
<p>(we don't have the functions defined yet, but that's how I'd do it I think)</p>



<a name="196171860"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196171860" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196171860">(May 04 2020 at 12:13)</a>:</h4>
<p>Does triagebot have permission to write to a repo and permission to change github actions workflows?</p>



<a name="196171907"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196171907" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196171907">(May 04 2020 at 12:13)</a>:</h4>
<p>The workflow permission is not really necessary, but right now I create a commit from scratch without parent.</p>



<a name="196176755"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196176755" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196176755">(May 04 2020 at 13:03)</a>:</h4>
<p><span class="user-mention" data-user-id="133247">@bjorn3</span> We can grant such permissions if necessary to the user account it uses</p>



<a name="196176917"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196176917" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196176917">(May 04 2020 at 13:05)</a>:</h4>
<p>Ok. Almost got creating a commit using the api working.</p>



<a name="196177973"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196177973" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196177973">(May 04 2020 at 13:14)</a>:</h4>
<p>Got it working</p>



<a name="196178196"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196178196" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196178196">(May 04 2020 at 13:16)</a>:</h4>
<p>I won't have time today to dig in probably but if you post a PR I'll get to it eventually</p>



<a name="196178318"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196178318" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196178318">(May 04 2020 at 13:17)</a>:</h4>
<p>I will still need to integrate it with triagebot</p>



<a name="196196500"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196196500" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196196500">(May 04 2020 at 15:26)</a>:</h4>
<p><span class="user-mention silent" data-user-id="133247">bjorn3</span> <a href="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196108700" title="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196108700">said</a>:</p>
<blockquote>
<p>Can <code>cargo bisect-rustc</code> use the github api to get the list of commits, instead of cloning the rust repo? That would save about 3min.</p>
</blockquote>
<p>Did anyone point you at <code>cargo-bisect-rustc --access</code> ?</p>



<a name="196196725"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196196725" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196196725">(May 04 2020 at 15:27)</a>:</h4>
<p>oh yes, someone did eventually. sorry for the noise.</p>



<a name="196197046"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196197046" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196197046">(May 04 2020 at 15:29)</a>:</h4>
<p>(and now I've cross-linked to the <a class="stream" data-stream-id="217417" href="/#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc">#t-compiler/cargo-bisect-rustc</a> stream, here <a href="#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/bisect.20via.20bot/near/196196973" title="#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/bisect.20via.20bot/near/196196973">https://rust-lang.zulipchat.com/#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/bisect.20via.20bot/near/196196973</a> )</p>



<a name="196197213"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196197213" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196197213">(May 04 2020 at 15:30)</a>:</h4>
<p>Should I continue there?</p>



<a name="196197376"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196197376" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196197376">(May 04 2020 at 15:31)</a>:</h4>
<p>I'm honestly not sure. Is the thing your adding mostly a bot that calls out to <code>cargo-bisect-rustc</code> as if it were just another user?</p>



<a name="196197428"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196197428" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196197428">(May 04 2020 at 15:31)</a>:</h4>
<p>Or is it making modifications to <code>cargo-bisect-rustc</code> itself (or making direct calls into its internals)?</p>



<a name="196197560"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196197560" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196197560">(May 04 2020 at 15:32)</a>:</h4>
<p>Or, does it motivate making more changes to <code>cargo-bisect-rustc</code> (in order to enable functionality that so-called "normal users" would not need nor care about) ?</p>



<a name="196197597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196197597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196197597">(May 04 2020 at 15:32)</a>:</h4>
<p>It is a bot that runs <code>cargo-bisect-rustc</code> unmodified.</p>



<a name="196197630"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196197630" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196197630">(May 04 2020 at 15:32)</a>:</h4>
<p>Okay. Then I suspect we don't <em>have</em> to move the conversation over.</p>



<a name="196197688"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196197688" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196197688">(May 04 2020 at 15:33)</a>:</h4>
<p>If I were to move it anywhere, it would be somewhere dedicate to bot development</p>



<a name="196197705"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196197705" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196197705">(May 04 2020 at 15:33)</a>:</h4>
<p>Currently it just accepts jobs and posts a link to the log when the job is finished.</p>



<a name="196197715"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196197715" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196197715">(May 04 2020 at 15:33)</a>:</h4>
<p>but I don't think we have a dedicated WG for that...</p>



<a name="196200409"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196200409" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196200409">(May 04 2020 at 15:52)</a>:</h4>
<p><a class="stream" data-stream-id="224082" href="/#narrow/stream/224082-t-release.2Ftriagebot">#t-release/triagebot</a> is maybe reasonable as a place but <span aria-label="shrug" class="emoji emoji-1f937" role="img" title="shrug">:shrug:</span></p>



<a name="196202097"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196202097" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196202097">(May 04 2020 at 16:04)</a>:</h4>
<p>just got some time to read this, this is awesome :)</p>



<a name="196202158"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196202158" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196202158">(May 04 2020 at 16:05)</a>:</h4>
<p>is it integrated with triagebot already?</p>



<a name="196202183"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196202183" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196202183">(May 04 2020 at 16:05)</a>:</h4>
<p>or how can we use it right now?</p>



<a name="196202622"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196202622" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196202622">(May 04 2020 at 16:08)</a>:</h4>
<p>no not yet integrated</p>



<a name="196206708"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196206708" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196206708">(May 04 2020 at 16:35)</a>:</h4>
<p><span class="user-mention silent" data-user-id="133247">bjorn3</span> <a href="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196178318" title="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196178318">said</a>:</p>
<blockquote>
<p>Ok. Almost got creating a commit using the api working.<br>
Got it working<br>
I will still need to integrate it with triagebot</p>
</blockquote>



<a name="196209917"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196209917" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196209917">(May 04 2020 at 17:00)</a>:</h4>
<p><span aria-label="+1" class="emoji emoji-1f44d" role="img" title="+1">:+1:</span></p>



<a name="196212037"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196212037" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196212037">(May 04 2020 at 17:17)</a>:</h4>
<p>test comment to see which fields a zulip event has when a comment is posted in a channel</p>



<a name="196214957"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196214957" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196214957">(May 04 2020 at 17:42)</a>:</h4>
<p>is it ok if I test my bot once on this channel? i have already tested for private messages to myself, but public messages use a slightly different api</p>



<a name="196215007"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196215007" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196215007">(May 04 2020 at 17:42)</a>:</h4>
<p><span class="user-mention" data-user-id="133247">@bjorn3</span> go for it!</p>



<a name="196215025"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196215025" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196215025">(May 04 2020 at 17:43)</a>:</h4>
<p>bisect-bot bisect start=2020-04-26 end=2020-04-28</p>
<div class="codehilite"><pre><span></span><code><span class="k">use</span><span class="w"> </span><span class="n">std</span>::<span class="n">sync</span>::<span class="p">{</span><span class="n">Arc</span><span class="p">,</span><span class="w"> </span><span class="n">RwLock</span><span class="p">};</span><span class="w"></span>

<span class="cp">#[derive(Copy, Clone)]</span><span class="w"></span>
<span class="k">pub</span><span class="w"> </span><span class="k">struct</span> <span class="nc">Glfw</span><span class="p">;</span><span class="w"></span>

<span class="k">fn</span> <span class="nf">fun_call</span><span class="o">&lt;</span><span class="n">T</span><span class="o">&gt;</span><span class="p">(</span><span class="n">val</span>: <span class="nc">T</span><span class="p">)</span><span class="w"> </span>-&gt; <span class="nc">T</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="n">val</span><span class="w"> </span><span class="p">}</span><span class="w"></span>

<span class="k">static</span><span class="w"> </span><span class="k">mut</span><span class="w"> </span><span class="n">GLFW</span>: <span class="nb">Option</span><span class="o">&lt;</span><span class="n">Glfw</span><span class="o">&gt;</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">None</span><span class="p">;</span><span class="w"></span>
<span class="k">pub</span><span class="w"> </span><span class="k">fn</span> <span class="nf">new</span><span class="p">()</span><span class="w"> </span>-&gt; <span class="nb">Result</span><span class="o">&lt;</span><span class="n">Arc</span><span class="o">&lt;</span><span class="n">RwLock</span><span class="o">&lt;</span><span class="n">Glfw</span><span class="o">&gt;&gt;</span><span class="p">,</span><span class="w"> </span><span class="nb">Box</span><span class="o">&lt;</span><span class="k">dyn</span><span class="w"> </span><span class="n">std</span>::<span class="n">error</span>::<span class="n">Error</span><span class="o">&gt;&gt;</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">    </span><span class="c1">//TODO: Give the option to choose FAIL / LOG?</span>
<span class="w">    </span><span class="kd">let</span><span class="w"> </span><span class="n">glfw</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">unsafe</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="kd">let</span><span class="w"> </span><span class="nb">Some</span><span class="p">(</span><span class="n">glfw</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">GLFW</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">        </span><span class="n">glfw</span><span class="w"></span>
<span class="w">    </span><span class="p">}</span><span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">        </span><span class="kd">let</span><span class="w"> </span><span class="n">glfw</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">fun_call</span><span class="p">(</span><span class="n">Glfw</span><span class="p">);</span><span class="w"></span>
<span class="w">        </span><span class="n">GLFW</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">Some</span><span class="p">(</span><span class="n">glfw</span><span class="p">);</span><span class="w"></span>
<span class="w">        </span><span class="n">glfw</span><span class="w"></span>
<span class="w">    </span><span class="p">}};</span><span class="w"></span>

<span class="w">    </span><span class="nb">Ok</span><span class="p">(</span><span class="n">Arc</span>::<span class="n">new</span><span class="p">(</span><span class="n">RwLock</span>::<span class="n">new</span><span class="p">(</span><span class="n">glfw</span><span class="p">)))</span><span class="w"></span>
<span class="p">}</span><span class="w"></span>
</code></pre></div>



<a name="196215038"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196215038" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196215038">(May 04 2020 at 17:43)</a>:</h4>
<p>bisection job 643712863 started: <a href="https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/643712863" title="https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/643712863">https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/643712863</a></p>



<a name="196215179"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196215179" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196215179">(May 04 2020 at 17:44)</a>:</h4>
<p><span class="user-mention" data-user-id="133247">@bjorn3</span> I assume the bot will be able to fire off bisections in <em>other</em> streams, right? In particular I imagine we'll see a fair amount from <a class="stream" data-stream-id="227806" href="/#narrow/stream/227806-t-compiler.2Fwg-prioritization">#t-compiler/wg-prioritization</a></p>



<a name="196215271"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196215271" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196215271">(May 04 2020 at 17:45)</a>:</h4>
<p>it works in any stream i am subscribed to. i am not subscribed to that channel right now.</p>



<a name="196215282"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196215282" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196215282">(May 04 2020 at 17:45)</a>:</h4>
<p>gotcha</p>



<a name="196215296"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196215296" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196215296">(May 04 2020 at 17:45)</a>:</h4>
<p>bisection job 643712863 completed: <a href="https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/643712863" title="https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/643712863">https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/643712863</a></p>



<a name="196219078"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196219078" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196219078">(May 04 2020 at 18:15)</a>:</h4>
<p><span class="user-mention" data-user-id="116083">@pnkfelix</span> It should now get notifications from all public streams. Can you try on <a class="stream" data-stream-id="227806" href="/#narrow/stream/227806-t-compiler.2Fwg-prioritization">#t-compiler/wg-prioritization</a>?</p>



<a name="196219120"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196219120" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196219120">(May 04 2020 at 18:15)</a>:</h4>
<p>Note: the code block must be <code> ```rust </code>. <code> ``` </code> is not enough.</p>



<a name="196221168"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196221168" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196221168">(May 04 2020 at 18:30)</a>:</h4>
<p><span class="user-mention" data-user-id="133247">@bjorn3</span> this is huge <span aria-label="slight smile" class="emoji emoji-1f642" role="img" title="slight smile">:slight_smile:</span></p>



<a name="196221251"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196221251" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196221251">(May 04 2020 at 18:31)</a>:</h4>
<p>Did it work? Can't access the logs right now.</p>



<a name="196221406"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196221406" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196221406">(May 04 2020 at 18:32)</a>:</h4>
<p>I didn't try it, but I meant, the ability to fire this from here is huge :)</p>



<a name="196221503"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196221503" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196221503">(May 04 2020 at 18:33)</a>:</h4>
<p>Seems like it worked indeed</p>



<a name="196221627"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196221627" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196221627">(May 04 2020 at 18:34)</a>:</h4>
<p>I thought <span class="user-mention" data-user-id="133247">@bjorn3</span> was asking if the thing worked on <a class="stream" data-stream-id="227806" href="/#narrow/stream/227806-t-compiler.2Fwg-prioritization">#t-compiler/wg-prioritization</a></p>



<a name="196221640"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196221640" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196221640">(May 04 2020 at 18:34)</a>:</h4>
<p>Indeed</p>



<a name="196221665"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196221665" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196221665">(May 04 2020 at 18:34)</a>:</h4>
<p><span class="user-mention silent" data-user-id="255061">LeSeulArtichaut</span> <a href="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196221503" title="#narrow/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot/near/196221503">said</a>:</p>
<blockquote>
<p>Seems like it worked indeed</p>
</blockquote>
<p>I guess you were saying that it worked here?</p>



<a name="196221716"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196221716" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196221716">(May 04 2020 at 18:35)</a>:</h4>
<p>because I didn't see any bisection fired on <a class="stream" data-stream-id="227806" href="/#narrow/stream/227806-t-compiler.2Fwg-prioritization">#t-compiler/wg-prioritization</a></p>



<a name="196221778"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196221778" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196221778">(May 04 2020 at 18:35)</a>:</h4>
<p>Neither do I see a branch newer than an hour at <a href="https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/branches" title="https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/branches">https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/branches</a></p>



<a name="196221968"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196221968" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196221968">(May 04 2020 at 18:37)</a>:</h4>
<p>Sorry I thought you were talking about the bisection in this channel</p>



<a name="196222098"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196222098" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196222098">(May 04 2020 at 18:38)</a>:</h4>
<p>/me has to stop dropping in conversations</p>



<a name="196224481"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196224481" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196224481">(May 04 2020 at 18:54)</a>:</h4>
<p>can somebody post a bisect command at <a class="stream" data-stream-id="227806" href="/#narrow/stream/227806-t-compiler.2Fwg-prioritization">#t-compiler/wg-prioritization</a>, so I can see if it works on channels I am not subscribed to?</p>



<a name="196225396"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196225396" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196225396">(May 04 2020 at 19:01)</a>:</h4>
<p>doing</p>



<a name="196225556"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196225556" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196225556">(May 04 2020 at 19:03)</a>:</h4>
<p><span class="user-mention" data-user-id="133247">@bjorn3</span> didn't seem to work: <a href="#narrow/stream/227806-t-compiler.2Fwg-prioritization/topic/test.20bisectbot" title="#narrow/stream/227806-t-compiler.2Fwg-prioritization/topic/test.20bisectbot">https://rust-lang.zulipchat.com/#narrow/stream/227806-t-compiler.2Fwg-prioritization/topic/test.20bisectbot</a></p>



<a name="196225604"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196225604" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196225604">(May 04 2020 at 19:03)</a>:</h4>
<p>Yeah, don't see it in the logs either</p>



<a name="196225759"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196225759" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196225759">(May 04 2020 at 19:04)</a>:</h4>
<p>Can you try again? I changed the code and I think I saw a message from a stream that I am not subscribed to.</p>



<a name="196225957"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196225957" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196225957">(May 04 2020 at 19:06)</a>:</h4>
<p>yeah</p>



<a name="196226008"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196226008" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196226008">(May 04 2020 at 19:06)</a>:</h4>
<p>It's doing it's job!</p>



<a name="196226011"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196226011" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196226011">(May 04 2020 at 19:06)</a>:</h4>
<p><span aria-label="tada" class="emoji emoji-1f389" role="img" title="tada">:tada:</span></p>



<a name="196226045"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196226045" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196226045">(May 04 2020 at 19:06)</a>:</h4>
<p>You see the start message, right?</p>



<a name="196226257"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196226257" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196226257">(May 04 2020 at 19:08)</a>:</h4>
<p>yes looks great to me</p>



<a name="196226541"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196226541" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196226541">(May 04 2020 at 19:10)</a>:</h4>
<p>I don't think I will be able to work on the for the next few days to merge it into triagebot, but I can host it on heroku for now if you want. They have a free teer.</p>



<a name="196227817"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196227817" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196227817">(May 04 2020 at 19:21)</a>:</h4>
<p>Wait, that won't work for the zulip side, as heroku only runs the program when a http request has been received recently.</p>



<a name="196231439"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196231439" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196231439">(May 04 2020 at 19:50)</a>:</h4>
<p>I have it running at heroku now. Posting the bisection command at <a href="https://github.com/bjorn3/cargo-bisect-rustc-bot/issues/1" title="https://github.com/bjorn3/cargo-bisect-rustc-bot/issues/1">https://github.com/bjorn3/cargo-bisect-rustc-bot/issues/1</a> works.</p>



<a name="196231554"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196231554" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196231554">(May 04 2020 at 19:51)</a>:</h4>
<p>If you recently posted a comment at that repo, the zulip side also works.</p>



<a name="196231844"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196231844" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196231844">(May 04 2020 at 19:53)</a>:</h4>
<p>according to heroku it will keep running for 30min after a request. (github webhook in this case)</p>



<a name="196272192"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196272192" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Félix Fischer <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196272192">(May 05 2020 at 06:34)</a>:</h4>
<p><span class="user-mention" data-user-id="133247">@bjorn3</span> I'm so happy that you've done this. This is so, so cool <span aria-label="sparkling heart" class="emoji emoji-1f496" role="img" title="sparkling heart">:sparkling_heart:</span></p>



<a name="196304988"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/cargo-bisect%20as%20a%20bot/near/196304988" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/cargo-bisect.20as.20a.20bot.html#196304988">(May 05 2020 at 13:10)</a>:</h4>
<p><a href="https://github.com/rust-lang/triagebot/issues/506" title="https://github.com/rust-lang/triagebot/issues/506">https://github.com/rust-lang/triagebot/issues/506</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>